package com.model;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * TStudent entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "T_student", schema = "")
public class TStudent implements java.io.Serializable {

	// Fields

	private String stuId;
	private String id;
	private String stuName;
	private String stuSex;
	private Date bornDate;
	private String className;
	private String isSpecial;
	private Date beginTime;
	private Date leaveTime;
	private String postion;
	private String industry;
	private String workPlace;
	private String workName;
	private Double salary;
	private String classPostion;
	private String groupPostion;
	private String stuPostion;
	private String political;
	private Integer identityCard;
	private Integer homeTel;
	private Integer phone;
	private String address;
	private String remarks;
	private String stuEventId;
	private String stuInfoId;
	private String stuWorkId;

	// Constructors

	/** default constructor */
	public TStudent() {
	}

	/** minimal constructor */
	public TStudent(String stuId, String id) {
		this.stuId = stuId;
		this.id = id;
	}

	/** full constructor */
	public TStudent(String stuId, String id, String stuName, String stuSex, Date bornDate, String className, String isSpecial, Date beginTime, Date leaveTime, String postion, String industry, String workPlace, String workName, Double salary, String classPostion, String groupPostion, String stuPostion, String political, Integer identityCard, Integer homeTel, Integer phone, String address, String remarks, String stuEventId, String stuInfoId, String stuWorkId) {
		this.stuId = stuId;
		this.id = id;
		this.stuName = stuName;
		this.stuSex = stuSex;
		this.bornDate = bornDate;
		this.className = className;
		this.isSpecial = isSpecial;
		this.beginTime = beginTime;
		this.leaveTime = leaveTime;
		this.postion = postion;
		this.industry = industry;
		this.workPlace = workPlace;
		this.workName = workName;
		this.salary = salary;
		this.classPostion = classPostion;
		this.groupPostion = groupPostion;
		this.stuPostion = stuPostion;
		this.political = political;
		this.identityCard = identityCard;
		this.homeTel = homeTel;
		this.phone = phone;
		this.address = address;
		this.remarks = remarks;
		this.stuEventId = stuEventId;
		this.stuInfoId = stuInfoId;
		this.stuWorkId = stuWorkId;
	}

	// Property accessors
	@Column(name = "stuID", unique = true, nullable = false)
	public String getStuId() {
		return this.stuId;
	}

	public void setStuId(String stuId) {
		this.stuId = stuId;
	}
	@Id
	@Column(name = "id", nullable = false)
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "stuName")
	public String getStuName() {
		return this.stuName;
	}

	public void setStuName(String stuName) {
		this.stuName = stuName;
	}

	@Column(name = "stuSex", length = 2)
	public String getStuSex() {
		return this.stuSex;
	}

	public void setStuSex(String stuSex) {
		this.stuSex = stuSex;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "bornDate", length = 10)
	public Date getBornDate() {
		return this.bornDate;
	}

	public void setBornDate(Date bornDate) {
		this.bornDate = bornDate;
	}

	@Column(name = "className")
	public String getClassName() {
		return this.className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	@Column(name = "isSpecial", length = 2)
	public String getIsSpecial() {
		return this.isSpecial;
	}

	public void setIsSpecial(String isSpecial) {
		this.isSpecial = isSpecial;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "beginTime", length = 10)
	public Date getBeginTime() {
		return this.beginTime;
	}

	public void setBeginTime(Date beginTime) {
		this.beginTime = beginTime;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "leaveTime", length = 10)
	public Date getLeaveTime() {
		return this.leaveTime;
	}

	public void setLeaveTime(Date leaveTime) {
		this.leaveTime = leaveTime;
	}

	@Column(name = "postion")
	public String getPostion() {
		return this.postion;
	}

	public void setPostion(String postion) {
		this.postion = postion;
	}

	@Column(name = "industry")
	public String getIndustry() {
		return this.industry;
	}

	public void setIndustry(String industry) {
		this.industry = industry;
	}

	@Column(name = "workPlace")
	public String getWorkPlace() {
		return this.workPlace;
	}

	public void setWorkPlace(String workPlace) {
		this.workPlace = workPlace;
	}

	@Column(name = "workName")
	public String getWorkName() {
		return this.workName;
	}

	public void setWorkName(String workName) {
		this.workName = workName;
	}

	@Column(name = "salary", scale = 4)
	public Double getSalary() {
		return this.salary;
	}

	public void setSalary(Double salary) {
		this.salary = salary;
	}

	@Column(name = "classPostion")
	public String getClassPostion() {
		return this.classPostion;
	}

	public void setClassPostion(String classPostion) {
		this.classPostion = classPostion;
	}

	@Column(name = "groupPostion")
	public String getGroupPostion() {
		return this.groupPostion;
	}

	public void setGroupPostion(String groupPostion) {
		this.groupPostion = groupPostion;
	}

	@Column(name = "stuPostion")
	public String getStuPostion() {
		return this.stuPostion;
	}

	public void setStuPostion(String stuPostion) {
		this.stuPostion = stuPostion;
	}

	@Column(name = "political")
	public String getPolitical() {
		return this.political;
	}

	public void setPolitical(String political) {
		this.political = political;
	}

	@Column(name = "identityCard")
	public Integer getIdentityCard() {
		return this.identityCard;
	}

	public void setIdentityCard(Integer identityCard) {
		this.identityCard = identityCard;
	}

	@Column(name = "homeTel")
	public Integer getHomeTel() {
		return this.homeTel;
	}

	public void setHomeTel(Integer homeTel) {
		this.homeTel = homeTel;
	}

	@Column(name = "phone")
	public Integer getPhone() {
		return this.phone;
	}

	public void setPhone(Integer phone) {
		this.phone = phone;
	}

	@Column(name = "address")
	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	@Column(name = "remarks", length = 200)
	public String getRemarks() {
		return this.remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	@Column(name = "stuEventID")
	public String getStuEventId() {
		return this.stuEventId;
	}

	public void setStuEventId(String stuEventId) {
		this.stuEventId = stuEventId;
	}

	@Column(name = "stuInfoID")
	public String getStuInfoId() {
		return this.stuInfoId;
	}

	public void setStuInfoId(String stuInfoId) {
		this.stuInfoId = stuInfoId;
	}

	@Column(name = "stuWorkID")
	public String getStuWorkId() {
		return this.stuWorkId;
	}

	public void setStuWorkId(String stuWorkId) {
		this.stuWorkId = stuWorkId;
	}

}